package com.itheima.reggie.service;

import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Page;

import java.util.List;

public interface CategoryService {
    /**
     * 添加菜品类型
     */
    void save(Category category);

    Page<Category> findAll(Integer page,Integer pageSize);


    void deleteCate(Long id);

    void update(Category category);

    List<Category> findAllmsg();

    List<Category> findByType(Integer type);

}
